package com.mytx.pojo;

import java.math.BigDecimal;
import java.util.Date;

//直播中 赏金
public class Reward {
    private String id;

    private String uId;

    private String lId;//直播间id

    private String rId;

    private Integer type;

    private BigDecimal amount;

    private Date updated;

    private Date created;

    private Integer audienceSize;

    private User user;

    public Reward(String id, String uId, String lId, String rId, Integer type, BigDecimal amount, Date created) {
        this.id = id;
        this.uId = uId;
        this.lId = lId;
        this.rId = rId;
        this.type = type;
        this.amount = amount;
        this.created = created;
    }

    public Reward() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId == null ? null : uId.trim();
    }

    public String getlId() {
        return lId;
    }

    public void setlId(String lId) {
        this.lId = lId == null ? null : lId.trim();
    }

    public String getrId() {
        return rId;
    }

    public void setrId(String rId) {
        this.rId = rId == null ? null : rId.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Integer getAudienceSize() {
        return audienceSize;
    }

    public void setAudienceSize(Integer audienceSize) {
        this.audienceSize = audienceSize;
    }


    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}